package com.shoulei.designpattern.ChainOfResponsibilityPattern;

/**
 * @ClassName:FileLogger
 * @Descrition:
 * @Author:shoulei
 * @Date:2019/4/14 16:48
 * @Verson:
 */
public class FileLogger extends AbstractLogger{
    public FileLogger(int level){
        this.level = level;
    }
    @Override
    protected void write(String message) {
        System.out.println("file:Logger:"+message);
    }
}
